#include "display.h"
#include "window.h"

using namespace ukuiwaylandclient;

int main()
{
    display *disp = new display();

    window *win = new window(disp, 800, 600);
    win->show();

    // Main event loop
    while (disp->dispatch() != -1) {
        // Handle events
    }

    // win->hide();
    delete win;
    delete disp;
    return 0;
}